import {showSuccess, showError, showLoading, hideLoading} from '../../utils/message'

export default {

    namespaced: true,

    state() {
        return {}
    },

    actions: {
        showSuccess: (context, message) => {
            showSuccess(message)
        },
        showError: (context, message) => {
            showError(message)
        },
        showLoading: (context, message) => {
            return showLoading(message)
        },
        hideLoading: (context, message) => {
            hideLoading(message)
        }
    }

}